package com.google.jessewilson.codesearch.util;

/**
 * An API for producers to provide the fruits of their labour.
 *
 * @author jessewilson
 */
public interface ProducerSink<T> {

  /**
   * To be invoked by a producer for each value produced.
   */
  void produced(T value);
}
